package com.xinlu.wzgg.dao;

import java.util.List;

import com.xinlu.derek.common.BaseDao;
import com.xinlu.persistence.Wzgg;

public class WzggDao extends BaseDao {

	/**
	 * 加载网站公告
	 * 
	 * @return
	 */
	public Wzgg loadWzgg() {

		List lst = super.find("from Wzgg");
		if (lst != null && lst.size() > 0) {
			return (Wzgg) lst.get(0);
		}

		return null;
	}
}
